<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>酷狗音乐</title>
  </head>
  <style>
    body, p, span, h3 {
      margin: 0;
      padding: 0;
    }
    .music {
      width: 480px;
      /* height: 480px; */
      background-color: antiquewhite;
      margin: 50px auto 0;
      transition: all 0.2s ease;
      overflow: hidden;
    }
    .music a {
      position: relative;
      width: 480px;
      height: 480px;
      display: block;
    }
    .homep_cm_item_st1_i1 {
      width: 480px;
      height: 480px;
      transform: scale(1);
    }
    .music-top {
      position: absolute;
      top: 0;
      right: 0;
      width: 200px;
      background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0));;
    }
    .music-top .earphone {
      width: 35px;
      height: 35px;
      float: right;
      background: url(https://www.kugou.com/common/images/icon_play_white.png) no-repeat;
      background-size: 93%;
      margin-right: 1px;
      
    }
    .music-top .music-listener {
      font-size: 14px;
      height: 35px;
      line-height: 35px;
      color: #fff;
      margin: 0 6px;
      float: right;
    }
    .music-info {
      position: absolute;
      color: #fff;
      width: 100%;
      left: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
    }
    .music-info h3 {
      padding: 10px 10px 5px;
    }
    .music-info p {
      padding: 0 10px 10px;
    }
    .music-mask {
      display: none;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.5);
    }
    .play-button {
      display: none;
      width: 30px;
      height: 30px;
      position: absolute;
      bottom: 22px;
      right: 22px;
      background: url(https://www.kugou.com/common/images/icon_play_white.png) no-repeat;
      background-size: 93%;
    }
    .music :hover .music-mask,
    .music :hover .play-button {
      display: block;
    }
    .music :hover .homep_cm_item_st1_i1 {
      transform: scale(1.05);
    }
  </style>
  <body>
    <div class="music">
      <a href="">
        <img class="homep_cm_item_st1_i1 " src="https://imgessl.kugou.com/custom/480/20220213/20220213123329703193.jpg" alt="" />
        <p class="music-top">
          <span class="music-listener">3.67万人</span>
          <i class="earphone"></i>
        </p>
        <div class="music-info">
          <h3>乡村音乐： 安静惬意，与自然同在</h3>
          <p>聂华</p>
        </div>
        <div class="music-mask"></div>
        <div class="play-button"></div>
      </a>
    </div>
  </body>
</html>
